<form class = "layui-form _form ajax" action="{:url('')}" method="post">
    <input type="hidden" name="id" value="{$one.id}"/>
    <div class = "layui-form-item">
        <label class = "layui-form-label require">上级区域</label>
        <div class = "layui-input-block">
            <select name="pid" required  lay-verify="required" >
                <option value = "0">顶级区域</option>
                {$areas}
            </select>
        </div>
    </div>
    <div class = "layui-form-item">
        <label class = "layui-form-label require">区域名称</label>
        <div class = "layui-input-block">
            <input type="text" name="name" class = "layui-input" required  lay-verify="required" value = "{$one.name}"/>
        </div>
    </div>
    <div class = "layui-form-item center">
        <button class = "layui-btn layui-btn-success">提交</button>
    </div>
</form>